package com.tech.tool.mapper;

import com.tech.tool.dataobject.UserInfo;
import com.tech.tool.sqlProvider.UserInfoSqlProvider;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Options;

public interface UserInfoMapper {

    @InsertProvider(type = UserInfoSqlProvider.class, method = "insertAppInfo")
    @Options(useGeneratedKeys=true, keyColumn="id")
    int insertByObject(UserInfo userInfo);
}
